#ifndef __FRAMEWORK_TEST_H
#define __FRAMEWORK_TEST_H


typedef enum _framework_target_task_type_
{
    FRAM_TGT_COMMUNICATE = 0x01,        /* task type is conmmunicate */
    FRAM_TGT_EVENT       = 0x02,        /* task type is event driver */
    FRAM_TGT_LOOP        = 0x03,        /* task type is loop*/
}fram_tgtType_e;

typedef struct
{
    u8 ucDataLenthl;
    u8 *puData;
}fram_msgData_t;

typedef struct
{
    fram_tgtType_e task_type;
    fram_taskNum_e task_num;
    fram_msgData_t msg;
}fram_msg_t;

typedef enum _fram_task_number_
{
    FRAM_TASK_STARTASK = 0,
    /* communicate task */
    FRAM_TASK_COMM,

    /* loop task */
    FRAM_TASK_LED0,
    FRAM_TASK_LED1,
    FRAM_TASK_LCDSHOW,

    /* event task */
    FRAM_TASK_THMT,
    FRAM_TASK_NUM_CNT,
}fram_taskNum_e;

void task_createStart(void);

#endif
